package com.hd.shiro2204.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_role")
public class Role {
    private String id;
    private String name;

    //定义权限的集合
    private List<Perms> perms;
}
